package com.cloud.files;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class outputLog {

    public static void main(String[] args) {
        String logFilePath = "U:\\messes\\SpringbootProject\\computer-basic-knowledge\\src\\main\\java\\com\\cloud\\files\\logs\\output1_11.txt";
        try (BufferedReader br = new BufferedReader(new FileReader(logFilePath))) {
            String line = "";
            while ((line = br.readLine()) != null) {
                processLogLine(line);
            }
        } catch (FileNotFoundException e) {
            throw new RuntimeException(e);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }

    public static void processLogLine(String line) {
        System.out.println(line);
    }
}
